package com.dingup.provider.mapper;

import com.dingup.api.model.sys.SysWxUser;
import org.apache.ibatis.annotations.Mapper;

/**
 * Created by jun on 2018/8/7.
 */
@Mapper
public interface SysWxUserMapper {
    Boolean add(SysWxUser sysWxUser);

    Boolean existUnionId(String unionId);

    SysWxUser getByUnionId(String unionId);

    SysWxUser getWxForOneselfByUserId(String userId);

    SysWxUser getWxForReportByUserId(String userId);
}
